﻿using System;

namespace DataConvertLib
{
	/// <summary>
	/// 带三个数据的操作结果类
	/// </summary>
	/// <typeparam name="T1">类型1</typeparam>
	/// <typeparam name="T2">类型2</typeparam>
	/// <typeparam name="T3">类型3</typeparam>
	// Token: 0x02000011 RID: 17
	public class OperateResult<T1, T2, T3> : OperateResult
	{
		/// <summary>
		/// 构造方法
		/// </summary>
		// Token: 0x06000098 RID: 152 RVA: 0x000050E1 File Offset: 0x000032E1
		public OperateResult()
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="isSuccess">操作是否成功</param>
		// Token: 0x06000099 RID: 153 RVA: 0x000050EB File Offset: 0x000032EB
		public OperateResult(bool isSuccess) : base(isSuccess)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="message">错误信息</param>
		// Token: 0x0600009A RID: 154 RVA: 0x000050F6 File Offset: 0x000032F6
		public OperateResult(string message) : base(message)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="errorCode">错误代码</param>
		/// <param name="message">错误信息</param>
		// Token: 0x0600009B RID: 155 RVA: 0x00005101 File Offset: 0x00003301
		public OperateResult(int errorCode, string message) : base(errorCode, message)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="isSuccess">是否成功</param>
		/// <param name="errorCode">错误代码</param>
		/// <param name="message">错误信息</param>
		// Token: 0x0600009C RID: 156 RVA: 0x0000510D File Offset: 0x0000330D
		public OperateResult(bool isSuccess, int errorCode, string message) : base(isSuccess, errorCode, message)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="isSuccess">是否成功</param>
		/// <param name="errorCode">错误代码</param>
		/// <param name="message">错误信息</param>
		/// <param name="content1">数据1</param>
		/// <param name="content2">数据2</param>
		/// <param name="content3">数据3</param>
		// Token: 0x0600009D RID: 157 RVA: 0x0000511A File Offset: 0x0000331A
		public OperateResult(bool isSuccess, int errorCode, string message, T1 content1, T2 content2, T3 content3) : base(isSuccess, errorCode, message)
		{
			this.Content1 = content1;
			this.Content2 = content2;
			this.Content3 = content3;
		}

		/// <summary>
		/// 数据1
		/// </summary>
		// Token: 0x1700000A RID: 10
		// (get) Token: 0x0600009E RID: 158 RVA: 0x00005142 File Offset: 0x00003342
		// (set) Token: 0x0600009F RID: 159 RVA: 0x0000514A File Offset: 0x0000334A
		public T1 Content1 { get; set; }

		/// <summary>
		/// 数据2
		/// </summary>
		// Token: 0x1700000B RID: 11
		// (get) Token: 0x060000A0 RID: 160 RVA: 0x00005153 File Offset: 0x00003353
		// (set) Token: 0x060000A1 RID: 161 RVA: 0x0000515B File Offset: 0x0000335B
		public T2 Content2 { get; set; }

		/// <summary>
		/// 数据3
		/// </summary>
		// Token: 0x1700000C RID: 12
		// (get) Token: 0x060000A2 RID: 162 RVA: 0x00005164 File Offset: 0x00003364
		// (set) Token: 0x060000A3 RID: 163 RVA: 0x0000516C File Offset: 0x0000336C
		public T3 Content3 { get; set; }
	}
}
